﻿using RuoVea.ExEnum;
using RuoVea.ExSugar;
using RuoVea.OmiApi.Dict.Entitys;

namespace RuoVea.OmiApi.Dict.SeedData;

/// <summary>
/// 系统字典值种子数据
/// </summary>
public class SysDictValueSeedData : SeedDataEntity<SysDictValue>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    public IList<SysDictValue> HasData()
    {
        return new[]
        {
            new SysDictValue{ Id=1300000000701, TypeId=152307070906590,TypeCode="ORG_TYPE", Label="集团", Code="ORG_TYPE_101", Value="101", Sort=100, Remark="集团", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00"), IsDelete=0 },
            new SysDictValue{ Id=1300000000702, TypeId=152307070906590,TypeCode="ORG_TYPE", Label="公司", Code="ORG_TYPE_201", Value="201", Sort=101, Remark="公司", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00"), IsDelete=0 },
            new SysDictValue{ Id=1300000000703, TypeId=152307070906590,TypeCode="ORG_TYPE", Label="部门", Code="ORG_TYPE_301", Value="301", Sort=102, Remark="部门", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00") , IsDelete=0},
            new SysDictValue{ Id=1300000000704, TypeId=152307070906590,TypeCode="ORG_TYPE", Label="区域", Code="ORG_TYPE_401", Value="401", Sort=103, Remark="区域", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00"), IsDelete=0 },
            new SysDictValue{ Id=1300000000705, TypeId=152307070906590,TypeCode="ORG_TYPE", Label="组", Code="ORG_TYPE_501", Value="501", Sort=104, Remark="组", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00"), IsDelete=0 },
           
            new SysDictValue{ Id=1300000000711, TypeId=152307070906591,TypeCode="FILE_UPLOAD", Label="预览URL", Code="FILE_PREVIEW_URL", Value="FILE_PREVIEW_URL", Sort=201, Remark="预览URL", IsDefault=true, TagType="url", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00"), IsDelete=0 },
            new SysDictValue{ Id=1300000000712, TypeId=152307070906591,TypeCode="FILE_UPLOAD", Label="附件上传URL", Code="FILE_UPLOAD_URL", Value="FILE_UPLOAD_URL", Sort=202, Remark="附件上传URL",IsDefault=true, TagType="url", IsDisable= YesOrNot.N, CreateTime=DateTime.Parse("2023-02-10 00:00:00") , IsDelete=0},
        };
    }
}